home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part III.srd / Part III.srd.rsrc / PICT_73.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  121KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | poster | reckoner | sky | windowpane
OCR: Chapter Views and Controls pan: Kp xp ) -- ) Pans the view over the child views by the given distance The scroll bars aren altered -use panRight: etc for this, since they adjust the appropriate scroll bar and then call pan: Note that panning doesn actually move the view within its parent view, but the panning is accomplised by shifting the child views in the opposite direction. Our con vention that positive dx and dy correspond to a pan to the right and down which means that the views are being shifted to the left and up which S "negative' shift. panRight: dx-- Pans the view to the right by dx pixels, or until the scroll limit is reached. Adjusts the horizontal scroll bar appropriately panLeft: dx-- Pans the view to the left by dx pixels likewise. panUp p ) Pans the view up by dy pixels li ...